<script>
    /*<![CDATA[*/
    url = '[[${session.homeHref}]]';

    /*]]>*/
    if (url !== '')
        location.href = url;
    else location.href = '/Login';

</script>